projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a978004
)
(basic-save-buffer-2): Ignore file-error in delete-file.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 24 Jan 2002 18:55:53 +0000
(18:55 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 24 Jan 2002 18:55:53 +0000
(18:55 +0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 8042707e13773985bd19cfa234a1319be5d90c40..e22443b19a16fa83070e24769e4672ff66554309 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-2745,7
+2745,9
@@
After saving the buffer, this function runs `after-save-hook'."
;; delete the temp file.
(or succeed
(progn
- (delete-file tempname)
+ (condition-case nil
+ (delete-file tempname)
+ (file-error nil))
(set-visited-file-modtime old-modtime))))
;; Since we have created an entirely new file
;; and renamed it, make sure it gets the